package com.itheima.sh.controller.impl;

import com.itheima.sh.controller.Tb_skuController;
import com.itheima.sh.pojo.tb_sku;
import com.itheima.sh.service.Tb_skuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import java.util.List;

@Controller
public class Tb_skuControllerimpl  implements Tb_skuController {

    //注入service对象
    @Autowired
    private Tb_skuService  tb_stuServiceimpl;

    @Override
    public List<tb_sku> findALLsku() {

        return tb_stuServiceimpl.findALLsku();
    }
}
